package com.bingxue.edu.management.system.model.query;

import com.bingxue.edu.framework.mybatis.query.Query;
import com.bingxue.edu.framework.mybatis.query.QueryType;
import com.bingxue.edu.management.system.model.entity.Dict;
import com.mybatisflex.annotation.TableRef;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


/**
 * 字典查询条件
 *
 * @author xunuo
 * @since 2024/07/23 10:34
 */
@Data
@Schema(description = "字典查询条件")
@TableRef(Dict.class)
public class DictQuery {

    @Schema(description = "编码")
    @Query(type = QueryType.LIKE)
    private String code;

    @Schema(description = "名称")
    @Query(type = QueryType.LIKE)
    private String name;

    @Schema(description = "是否预置")
    private Boolean reserved;
}
